package com.quick.develop.flowable.service.task;

import com.quick.develop.framework.common.page.PageResult;
import com.quick.develop.flowable.domain.job.BpmDeadJobPageItemRspVO;
import com.quick.develop.flowable.domain.job.BpmDeadJobPageReqVO;

/**
 * @author junyuan.liu
 * @description:
 * @date 2022/9/20 19:17
 */
public interface IBpmJobService {
    /** 
     * @description 死信节点分页
     * @param reqVO reqVO
     * @return com.quick.develop.framework.domain.PageResult<com.quick.develop.flowable.domain.job.BpmDeadJobPageItemRspVO>
     * @author junyuan.liu
     * @date 2022/9/21 9:08
     */ 
    PageResult<BpmDeadJobPageItemRspVO> deadLetterPage(BpmDeadJobPageReqVO reqVO);
    
    /** 
     * @description 死信节点恢复到run_job
     * @param id id
     * @author junyuan.liu
     * @date 2022/9/21 14:17
     */ 
    void restoreDeadJob(String id);
    
    /** 
     * @description 死信节点异常堆栈信息
     * @param id ID
     * @return java.lang.String
     * @author junyuan.liu
     * @date 2022/9/21 18:08
     */ 
    String getDeadLetterJobExceptionStacktrace(String id);
    
    
}
